package facade;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import model.Availability;

/**
 *
 * @author ZimmE
 */
@Stateless
public class AvailabilityFacade extends AbstractFacade<Availability> {

    @PersistenceContext(unitName = "MyGronaPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public AvailabilityFacade() {
        super(Availability.class);
    }
}
